package com.cskaoyan.shopping.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author :LuoXuXin
 * @version : $version
 * @date :Created in 2022/4/22   14:49
 * @description:
 * @return:
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ShoppingHomeResponse {

    private int id;
    private String name;
    private int type;
    private int sortOrder;
    private int position;
    private int limitNum;
    private int status;
    private String remark;
    private List<PanelContentItemsDTO> panelContentItems;

    @NoArgsConstructor
    @Data
    public static class PanelContentItemsDTO {
        private int id;
        private int panelId;
        private int type;
        private int productId;
        private int sortOrder;
        private String fullUrl;
        private String picUrl;
        private Object picUrl2;
        private Object picUrl3;
        private String created;
        private String updated;
        private String productName;
        private int salePrice;
        private String subTitle;
    }
}
